#pragma once
#define DIRECTINPUT_VERSION 0x0800
#define TEXTURE_SIZE 20
#define BUTTONSTATE_PRESSED TRUE
#define BUTTONSTATE_RELEASED FALSE
#define DINPUT_BUFFERSIZE 16
#define D3DFVF_CUSTOMVERTEX (D3DFVF_XYZ|D3DFVF_TEX1)
#include "basicinfo.h"
#include <assert.h>
#include "comp_arch/Component.h"
#include "comp_arch/Object.h"
#include "comp_arch/ObjectManager.h"
#include <d3d9.h>
#include <D3dx9core.h>
#pragma warning( disable : 4996 ) // disable deprecated warning 
#include <strsafe.h>
#pragma warning(disable: 4995) 
#include <dinput.h>
#pragma warning( disable : 4996 ) // disable deprecated warning 
#include <vector>
using namespace std;
typedef char			int8;
typedef short			int16;
typedef int				int32;
typedef unsigned char	uint8;
typedef unsigned short	uint16;
typedef unsigned int	uint32;
enum GAME_STATE
{
	MENU,
	STORY,
	FIGHT,
	END
};

struct CUSTOMVERTEX
{
	D3DXVECTOR3 position; // The position
	FLOAT tu, tv;   // The texture coordinates
};


//#include "modelheaders.h"
/*
typedef struct _ATTRIBUTE
{
	const char* name;
	const char* value;
	_ATTRIBUTE* next;
}ATTRIBUTE;

typedef struct _SCRIPT
{
	const char* elenemt;
	const char* text;
	ATTRIBUTE* att_list;
}SCRIPT;
*/

